from formation import Formation

DEFENSE_4_LEFT_FULL_BACK = (0.15, 0.25)
DEFENSE_4_LEFT_CENTER_BACK = (0.37, 0.18)
DEFENSE_4_RIGHT_CENTER_BACK = (0.63, 0.18)
DEFENSE_4_RIGHT_FULL_BACK = (0.85, 0.25)
DEFENSE_4 = [DEFENSE_4_LEFT_FULL_BACK,
             DEFENSE_4_LEFT_CENTER_BACK,
             DEFENSE_4_RIGHT_CENTER_BACK,
             DEFENSE_4_RIGHT_FULL_BACK]

DEFMIDFIELD_2_LEFT = (0.35, 0.40)
DEFMIDFIELD_2_RIGHT = (0.65, 0.40)
DEFMIDFIELD_2 = [DEFMIDFIELD_2_LEFT,
                 DEFMIDFIELD_2_RIGHT]

ATTACK_1_CENTER_FORWARD = (0.50, 0.75)
ATTACK_1 = [ATTACK_1_CENTER_FORWARD]

ATTACK_2_CENTER_FORWARD_LEFT = (0.40, 0.75)
ATTACK_2_CENTER_FORWARD_RIGHT = (0.60, 0.75)
ATTACK_2 = [ATTACK_2_CENTER_FORWARD_LEFT,
            ATTACK_2_CENTER_FORWARD_RIGHT]


ATTACK_3_WINGER_LEFT = (0.20, 0.70)
ATTACK_3_WINGER_RIGHT = (0.80, 0.70)
ATTACK_3_CENTER_FORWARD = (0.50, 0.75)
ATTACK_3 = [ATTACK_3_WINGER_LEFT,
            ATTACK_3_WINGER_RIGHT,
            ATTACK_3_CENTER_FORWARD]


FORMATION_4_1_2_3 = Formation(DEFENSE_4 +
                              [(0.50, 0.35),
                               (0.30, 0.55),
                               (0.70, 0.55)] +
                              ATTACK_3)

FORMATION_4_2_3_1 = Formation(DEFENSE_4 +
                              DEFMIDFIELD_2 +
                              [(0.50, 0.60),
                               (0.20, 0.57),
                               (0.80, 0.57)] +
                              ATTACK_1)

FORMATION_4_2_2_2 = Formation(DEFENSE_4 +
                              DEFMIDFIELD_2 +
                              [(0.20, 0.62),
                               (0.80, 0.62)] +
                              ATTACK_2)

FORMATIONS = (FORMATION_4_1_2_3, FORMATION_4_2_3_1, FORMATION_4_2_2_2)
